package ${model.packageName}.domain;

import java.util.List;
import com.dhc.framework.base.model.BaseModel;

/**
 * ${model.desc}
 */
public class ${model.initUpperName} implements BaseModel {

	<#list model.fields as field>
	/**
	 * ${field.desc}
	 */
	private String ${field.name};
	</#list>
	<#list model.childModels as childModel>
	/**
	 * ${childModel.desc}
	 */
	private List<${childModel.initUpperName}> ${childModel.initLowerName}List;
	</#list>
	
	<#list model.fields as field>
	public String get${field.name?cap_first}() {
		return ${field.name};
	}
	public void set${field.name?cap_first}(String ${field.name}) {
		this.${field.name} = ${field.name};
	}
	</#list>	
	<#list model.childModels as childModel>
	public List<${childModel.initUpperName}> get${childModel.initUpperName}List() {
		return ${childModel.initLowerName}List;
	}
	public void set${childModel.initUpperName}List(List<${childModel.initUpperName}> ${childModel.initLowerName}List) {
		this.${childModel.initLowerName}List = ${childModel.initLowerName}List;
	}
	</#list>	
}
